<template>
  <div>
    <el-dialog :visible="dialogTableVisible2" width="40%" style="border-radius: 50px;" @close="close">
      <template slot="title">
        <span style="font-weight: 700;">点位详情</span>
      </template>
      <el-form ref="form" :model="form" label-width="140px">

        <el-table
          :data="tableData"
          style="width: 100%"
        >
          <el-table-column
            prop="date"
            label="序号"
            width="180"
          />
          <el-table-column
            prop="innerCode"
            label="机器编号"
            width="180"
          />
          <el-table-column
            prop="vmStatus"
            label="设备状态"
          />
          <el-table-column
            prop="lastSupplyTime"
            label="最后一次补货时间"
          />
        </el-table>

      </el-form>
    </el-dialog>
  </div>
</template>
<script>
export default {
  name: '',
  props: {
    dialogTableVisible2: Boolean
  },
  data() {
    return {
      form: {
        regionName: '',
        remark: ''
      },
      tableData: [],
      rules: {
        regionName: [
          { required: true, message: '请输入', trigger: 'blur' }
        ],
        remark: [
          { required: true, message: '请输入', trigger: 'blur' }
        ]
      }
    }
  },
  computed: {
  },
  created() {
  },
  methods: {
    // 关闭触发函数
    close() {
      this.$emit('update:dialogTableVisible2', false)
    }
  }
}
</script>
<style lang='scss'  scoped>

 ::v-deep.el-textarea .el-textarea__inner   {
    height: 100px !important;
}

</style>
